package com.yunsc.order.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.yunsc.order.entity.YunscOrderDeliveryEntity;
import com.yunsc.order.entity.YunscOrderDeliveryGoodsEntity;
import com.yunsc.store.entity.YunscExpressEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-05-02 16:03
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class OrderDeliveryVO extends YunscOrderDeliveryEntity {

    private YunscExpressEntity express;

    private List<YunscOrderDeliveryGoodsEntity> goods;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("orderData")
    private OrderDetailVO orderData;
}
